package com.itheima.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;

@Configuration
//@ComponentScan("com.itheima")
@ComponentScan(value = "com.itheima" , excludeFilters = @ComponentScan.Filter(
        type = FilterType.ANNOTATION,
        value = {Configuration.class, Controller.class}
))
@PropertySource({"classpath:jdbc.properties"})
@Import({JdbcConfig.class,MybataisConfig.class})
public class SpringConfig {

}
